\hypertarget{class_rotating_object}{
\section{RotatingObject Class Reference}
\label{class_rotating_object}\index{RotatingObject@{RotatingObject}}
}


Game object that is rotating when moving on screen.  


Inheritance diagram for RotatingObject:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.010753cm]{class_rotating_object}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_rotating_object_ada64217d37623f69b35e4289603cf714}{
\hyperlink{class_rotating_object_ada64217d37623f69b35e4289603cf714}{RotatingObject} ()}
\label{class_rotating_object_ada64217d37623f69b35e4289603cf714}

\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{class_rotating_object_a20459673c2d7bc303a4d74742688e050}{
GLfloat \hyperlink{class_rotating_object_a20459673c2d7bc303a4d74742688e050}{rotationAxis} (int i) const }
\label{class_rotating_object_a20459673c2d7bc303a4d74742688e050}

\begin{DoxyCompactList}\small\item\em Gets rotation value for axis given at {\itshape i\/}. \item\end{DoxyCompactList}\item 
\hypertarget{class_rotating_object_a8954e0bdf839733b549a32ea263d38fc}{
GLfloat \hyperlink{class_rotating_object_a8954e0bdf839733b549a32ea263d38fc}{rotationAngle} () const }
\label{class_rotating_object_a8954e0bdf839733b549a32ea263d38fc}

\begin{DoxyCompactList}\small\item\em Gets rotation angle. \item\end{DoxyCompactList}\item 
\hypertarget{class_rotating_object_a9b3643cdfdd70fafaa9d76d64ead5db5}{
GLfloat \hyperlink{class_rotating_object_a9b3643cdfdd70fafaa9d76d64ead5db5}{rotationSpeed} () const }
\label{class_rotating_object_a9b3643cdfdd70fafaa9d76d64ead5db5}

\begin{DoxyCompactList}\small\item\em Gets rotation speed. \item\end{DoxyCompactList}\item 
\hypertarget{class_rotating_object_a746d2fdd9b705c9db92bbeab7295113b}{
void \hyperlink{class_rotating_object_a746d2fdd9b705c9db92bbeab7295113b}{integrateRotation} (FPtype)}
\label{class_rotating_object_a746d2fdd9b705c9db92bbeab7295113b}

\begin{DoxyCompactList}\small\item\em Integrates current rotation angle for the {\itshape timestep\/}. \item\end{DoxyCompactList}\item 
\hypertarget{class_rotating_object_ae1927001726bd24ae0ef5f86efa3c042}{
void \hyperlink{class_rotating_object_ae1927001726bd24ae0ef5f86efa3c042}{setRotationAngle} (GLfloat)}
\label{class_rotating_object_ae1927001726bd24ae0ef5f86efa3c042}

\begin{DoxyCompactList}\small\item\em Sets rotation angle. \item\end{DoxyCompactList}\item 
\hypertarget{class_rotating_object_a8b6708a102be59626adf2bb0ff5d9b7c}{
void \hyperlink{class_rotating_object_a8b6708a102be59626adf2bb0ff5d9b7c}{setRotationSpeed} (GLfloat)}
\label{class_rotating_object_a8b6708a102be59626adf2bb0ff5d9b7c}

\begin{DoxyCompactList}\small\item\em Sets rotation speed. \item\end{DoxyCompactList}\item 
\hypertarget{class_rotating_object_a4249290b07817a81398ecbac6ba867e9}{
void \hyperlink{class_rotating_object_a4249290b07817a81398ecbac6ba867e9}{setRotationAxis} (GLfloat, GLfloat, GLfloat)}
\label{class_rotating_object_a4249290b07817a81398ecbac6ba867e9}

\begin{DoxyCompactList}\small\item\em Sets rotation value for axis. X axle is {\itshape first\/}. Y axle is {\itshape second\/}. Z axle is {\itshape third\/}. \item\end{DoxyCompactList}\item 
\hypertarget{class_rotating_object_aaf69f30f9deb8a481e9ef7a8b23e7663}{
void \hyperlink{class_rotating_object_aaf69f30f9deb8a481e9ef7a8b23e7663}{setRotationAxis} (int index, GLfloat value)}
\label{class_rotating_object_aaf69f30f9deb8a481e9ef7a8b23e7663}

\begin{DoxyCompactList}\small\item\em Sets rotation value for axis given at {\itshape index\/}. X axle is 0. Y axle 1. Z axle is 2. \item\end{DoxyCompactList}\item 
\hypertarget{class_rotating_object_ab9523e8d418a6bef82c95fbb2090af5e}{
void \hyperlink{class_rotating_object_ab9523e8d418a6bef82c95fbb2090af5e}{resetRotationAngle} ()}
\label{class_rotating_object_ab9523e8d418a6bef82c95fbb2090af5e}

\begin{DoxyCompactList}\small\item\em Resets the rotation angle at its starting value. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_rotating_object_ad4e35b2a8831a65793bf58d9e7f6d61e}{
GLfloat \hyperlink{class_rotating_object_ad4e35b2a8831a65793bf58d9e7f6d61e}{rotation\_\-axis} \mbox{[}3\mbox{]}}
\label{class_rotating_object_ad4e35b2a8831a65793bf58d9e7f6d61e}

\begin{DoxyCompactList}\small\item\em Rotation values for the three axis's X, Y and Z. \item\end{DoxyCompactList}\item 
\hypertarget{class_rotating_object_a69107042c1cc24099cac29a0f5b764e4}{
GLfloat \hyperlink{class_rotating_object_a69107042c1cc24099cac29a0f5b764e4}{rotation\_\-angle}}
\label{class_rotating_object_a69107042c1cc24099cac29a0f5b764e4}

\begin{DoxyCompactList}\small\item\em Angle of the rotation. \item\end{DoxyCompactList}\item 
\hypertarget{class_rotating_object_a04f6196e6c470aa21155685fb8c499f3}{
GLfloat \hyperlink{class_rotating_object_a04f6196e6c470aa21155685fb8c499f3}{rotation\_\-speed}}
\label{class_rotating_object_a04f6196e6c470aa21155685fb8c499f3}

\begin{DoxyCompactList}\small\item\em Speed of the rotation. \item\end{DoxyCompactList}\item 
\hypertarget{class_rotating_object_a6afceb0bdb5b7f9a3fd8d0fe7e2949a4}{
GLfloat \hyperlink{class_rotating_object_a6afceb0bdb5b7f9a3fd8d0fe7e2949a4}{rotation\_\-angleStart}}
\label{class_rotating_object_a6afceb0bdb5b7f9a3fd8d0fe7e2949a4}

\begin{DoxyCompactList}\small\item\em Starting angle of the rotation. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Game object that is rotating when moving on screen. 

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
rotatingobject.h\item 
rotatingobject.cpp\end{DoxyCompactItemize}
